package com.liming.common.enums;

import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 返回枚举
 *
 * @author liming
 * @date 2025/1/3
 */
@Getter
@AllArgsConstructor
public enum ResultEnum {

    SUCCESS(1, "成功"),
    ERROR(-1, "失败"),
    FEIGN_ERROR(-100, "远程调用失败");

    private final Integer code;
    private final String msg;
}
